home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 65.zip
/
BS1 part 65
/
Scenery Animator v1.01.adf
/
Install
< prev
next >
Wrap
Text File
|
1991-06-04
|
2KB
|
82 lines
.
c/path c reset
echo "Scenery Animator Installation procedure"
echo "This will install two libraries and a font"
echo "into your boot environment."
echo "*n LIBS:"
echo " arp.library (if not already present)"
echo " dctv.library (if not already present)"
echo "*n FONTS:"
echo " SAnim.font"
echo "*nCaution: This script assumes that you booted from your native boot"
echo "environment, so that *"LIBS:*" and *"FONTS:*" refer to the location"
echo "where you want these files installed.*n"
ask "OK to install files? (Y|N)"
if not warn
skip Abort
endif
echo "Setting up..."
makedir ram:_sa
cd >nil: ; makedir above might've caused a disk swap to occur, make sure install disk is in drive
makedir ram:_sa/c
path ram:_sa/c c reset
copy c/copy ram:_sa/c
copy c/ask ram:_sa/c
copy c/echo ram:_sa/c
copy c/endif ram:_sa/c
copy c/if ram:_sa/c
copy c/lab ram:_sa/c
copy c/makedir ram:_sa/c
copy c/skip ram:_sa/c
makedir ram:_sa/libs
copy libs/arp.library ram:_sa/libs clone
copy libs/dctv.library ram:_sa/libs clone
makedir ram:_sa/fonts
makedir ram:_sa/fonts/SAnim
copy fonts/SAnim.font ram:_sa/fonts clone
copy fonts/SAnim ram:_sa/fonts/SAnim clone quiet
if exists libs:arp.library
ask "libs:arp.library already exists. Overwrite it? (Y|N)"
if not warn
skip CopyLib2
endif
endif
copy ram:_sa/libs/arp.library libs:
lab CopyLib2
if exists libs:dctv.library
ask "libs:dctv.library already exists. Overwrite it? (Y|N)"
if not warn
skip CopyFont
endif
endif
copy ram:_sa/libs/dctv.library libs:
lab CopyFont
copy ram:_sa/fonts fonts: all clone
echo "Cleaning up..."
cd >nil: ; get distribution diskette back online
path c reset
delete ram:_sa all quiet
echo "*nInstallation complete."
skip Done
; abort handler
lab Abort
echo "*nInstallation cancelled."
; end
lab Done